package io.github.heollhai.common.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色表
 *
 * @author mf
 * @since 2024-08-06
 */
@Getter
@ToString
@Setter
@TableName("auth_role")

public class RoleBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 1:启用，0:禁用
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 可用系统,-1所有系统可用
     */
    private Integer systemId;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}